/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sda.levelup.swing;

import java.awt.Dimension;
import java.awt.Toolkit;

/**
 *
 * @author Дима
 */
public class Main
{
    public static void main(String[] args) {
        MyFrame mf = new MyFrame();
        mf.setVisible(true);  
        
        for (double i=0; ; i++){
        mf.setLocation(mf.getOX(i), mf.getOY(i));
        mf.repaint();        
        }
        
        
    }
}
